package com.atjava.nebula.core.tablexml.view;

import java.io.Serializable;
import java.util.List;

import com.atjava.jox.annotation.ClassProps;
import com.atjava.jox.annotation.FieldProps;
import com.atjava.jox.annotation.FieldProps.ElementType;

@ClassProps(alias = "query")
public class Query implements Serializable,IdObject{

	@FieldProps(type = ElementType.ELEMENTLIST)
	private List<Property> properties;
	
	@FieldProps
	private String id;
	
	@FieldProps
	private String target;

	public List<Property> getProperties() {
		return properties;
	}

	public void setProperties(List<Property> properties) {
		this.properties = properties;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTarget() {
		return target;
	}

	public void setTarget(String target) {
		this.target = target;
	}

}
